import { get, put, deletes, post } from '../http'
export let getrolelist = (url, params) => {
    return get(url, params).then(res => {
        return res
    })
}

// 111

export let postrolelist = (url, params) => {
    return post(url, params).then(res => {
        return res
    })
}

export let putrolelist = (url, params) => {
    return put(url, params).then(res => {
        return res
    })
}

export let deletesrolelist = (url, params) => {
    return deletes(url, params).then(res => {
        return res
    })
}